package com.whut.mapper;

import com.whut.model.Allpointsave;
import com.whut.v_model.PointAndProject;
import com.whut.v_model.ProjectPoint;

import java.util.List;

public interface AllpointsaveMapper {
    int deleteByPrimaryKey(Integer mkey);

    int insert(Allpointsave record);

    int insertSelective(Allpointsave record);

    Allpointsave selectByPrimaryKey(Integer mkey);

    int updateByPrimaryKeySelective(Allpointsave record);

    int updateByPrimaryKey(Allpointsave record);

    int getAllPointCountByCheckId(int checkId,int number);

    void updateAllPoint(int checkId,String point,int number,String lastEditTime);

    List<ProjectPoint> getProjectPiont(List<Integer> list, int number);

    String getPointByCheckIdAndNumber(int checkId,int number);

    List<PointAndProject> GetProjectRank(Integer taskId, String startTime, String endTime);

    List<PointAndProject> getNewProjectRank();

    List<PointAndProject> getNewProjectRankByContract(Integer contractId);

    List<PointAndProject> getNewProjectOnlyByTime(String startTime, String endTime);
}